package com.weds.edwx.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weds.core.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.validation.constraints.Digits;
import javax.validation.constraints.Size;

public class BcqCntEntity extends BaseEntity implements Serializable {
    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer xh;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private Long userSerial;

    /**
     *
     */
    @Size(max = 7)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String rq;

    /**
     *
     */
    @ApiModelProperty(required = true, dataType = "int", example = "-1", value = "")
    private Integer num;

    /**
     *
     */
    @Size(max = 200)
    @ApiModelProperty(required = true, dataType = "string", example = "test", value = "")
    private String glyNo;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(required = true, dataType = "string", example = "2020-01-09 11:29:14", value = "")
    private Date czsj;

    /**
     */
    private static final long serialVersionUID = 1L;

    private String keys;

    /**
     * This method returns the value of the database column bcq_cnt.xh
     *
     * @return the value of bcq_cnt.xh
     */
    public Integer getXh() {
        return xh;
    }

    /**
     */
    public BcqCntEntity withXh(Integer xh) {
        this.setXh(xh);
        return this;
    }

    /**
     * This method sets the value of the database column bcq_cnt.xh
     *
     * @param xh the value for bcq_cnt.xh
     */
    public void setXh(Integer xh) {
        this.xh = xh;
    }

    /**
     * This method returns the value of the database column bcq_cnt.user_serial
     *
     * @return the value of bcq_cnt.user_serial
     */
    public Long getUserSerial() {
        return userSerial;
    }

    /**
     */
    public BcqCntEntity withUserSerial(Long userSerial) {
        this.setUserSerial(userSerial);
        return this;
    }

    /**
     * This method sets the value of the database column bcq_cnt.user_serial
     *
     * @param userSerial the value for bcq_cnt.user_serial
     */
    public void setUserSerial(Long userSerial) {
        this.userSerial = userSerial;
    }

    /**
     * This method returns the value of the database column bcq_cnt.rq
     *
     * @return the value of bcq_cnt.rq
     */
    public String getRq() {
        return rq;
    }

    /**
     */
    public BcqCntEntity withRq(String rq) {
        this.setRq(rq);
        return this;
    }

    /**
     * This method sets the value of the database column bcq_cnt.rq
     *
     * @param rq the value for bcq_cnt.rq
     */
    public void setRq(String rq) {
        this.rq = rq;
    }

    /**
     * This method returns the value of the database column bcq_cnt.num
     *
     * @return the value of bcq_cnt.num
     */
    public Integer getNum() {
        return num;
    }

    /**
     */
    public BcqCntEntity withNum(Integer num) {
        this.setNum(num);
        return this;
    }

    /**
     * This method sets the value of the database column bcq_cnt.num
     *
     * @param num the value for bcq_cnt.num
     */
    public void setNum(Integer num) {
        this.num = num;
    }

    /**
     * This method returns the value of the database column bcq_cnt.gly_no
     *
     * @return the value of bcq_cnt.gly_no
     */
    public String getGlyNo() {
        return glyNo;
    }

    /**
     */
    public BcqCntEntity withGlyNo(String glyNo) {
        this.setGlyNo(glyNo);
        return this;
    }

    /**
     * This method sets the value of the database column bcq_cnt.gly_no
     *
     * @param glyNo the value for bcq_cnt.gly_no
     */
    public void setGlyNo(String glyNo) {
        this.glyNo = glyNo;
    }

    /**
     * This method returns the value of the database column bcq_cnt.czsj
     *
     * @return the value of bcq_cnt.czsj
     */
    public Date getCzsj() {
        return czsj;
    }

    /**
     */
    public BcqCntEntity withCzsj(Date czsj) {
        this.setCzsj(czsj);
        return this;
    }

    /**
     * This method sets the value of the database column bcq_cnt.czsj
     *
     * @param czsj the value for bcq_cnt.czsj
     */
    public void setCzsj(Date czsj) {
        this.czsj = czsj;
    }

    public String getKeys() {
        return keys;
    }

    public void setKeys(String keys) {
        this.keys = keys;
    }
}